home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: 7 Apr 96 17:47:41 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.828899261@rscernix>
- References: <JSA.96Feb16135027@organon.com> <emery-0204960656230001@line030.nwm.mindlink.net> <828632277snz@genesis.demon.co.uk> <dewar.828704810@schonberg> <4k3utg$ndp@solutions.solon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <dewar.828879781@schonberg> dewar@cs.nyu.edu (Robert Dewar) writes:
-
- >Dan Pop
- >
- >"This is plain nonsense. read in Linux (or anywhere else) CANNOT be ANSI
- >compliant for the simple reason that the ANSI/ISO C standard does NOT
- >define such a function. read may (or may not) be POSIX, SVID or XPG
- >"
- >
- >Dan, you miss the point, of course read in Linux is compliant with the
- >ANSI standard, precisely because this standard does NOT specify any
- >required behavior for read, and permits the addition of such functions.
- >
- >How could you possibly claim that read could be non-compliant with ANSI
- >(something is either compliant or non-compliant, we do not have three
- >valued logic here).
-
- A program calling a function which isn't defined by that program and
- isn't part of the standard C library invokes undefined behaviour (the
- same as dereferencing a null pointing or dividing by zero).
- Such a program is not a strictly conforming ANSI C program.
-
- >It would be interesting to know more details about Unix validation. I
- >guess the point here is that most systems that people think of as Unix
- >are actually NOT called Unix (e.g. Linux, IRIX, AIX, Solaris), and so
- >you have to be very careful in understanding what this validation means.
-
- It's not a matter of how they are called, but of what they claim to be.
- For example, Solaris claims to be:
-
- UNIX(r) System V Release 4.0
-
- and IRIX says:
-
- IRIX System V.4
-
- >I guess the issue here is IPR protection rather than propagation of an
- >open standard.
- >
- >Precisely which commonly used Unix-like systems have been certified by
- >the copyright holder in this manner?
-
- Solaris and IRIX, by the time the copyright holder was Novell,
- Digital UNIX by X/Open.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-